﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.OleDb;
using System.Data.SqlClient;

namespace CFSystem.JXC
{
    /// <summary>抽象CommandFactory類</summary> 
    public abstract class CommandFactory
    {
        protected string commandText;
        protected IDbConnection iConn;

        public CommandFactory(IDbConnection conn, string commText)
        {
            this.iConn = conn;
            this.commandText = commText;
        }

        public abstract IDbCommand GetCommand();
    } 

}
